#ifndef FRUIT_H
#define FRUIT_H

#include "fixedunit.h"

class Fruit : public FixedUnit
{
public:
    Fruit();
    Fruit(QRect &geometry);

    int getType() const;
    void init();


    void draw(QPainter *painter);
    void serializeDebug(QDebug &dbg);
    void serializeIn(QDataStream &in);
    void serializeOut(QDataStream &out);
};

#endif // FRUIT_H
